namespace bga
{

template< typename T >
T* ResourceManager::get(const std::string& name)
{
    T* resource = NULL;
    if(resources.find(name) != resources.end())
    {
        resource = static_cast<T*>(resources[name]);
    }
    return resource;
}

}
